//找最小值
var arr = [12,34,32,89,4];

arr.sort((a,b)=>a-b)[0]